const express = require( 'express' );
const router = express.Router();
const random = require( "../../../../controllers/random.controller" );


/**
 * 获取一句话和背景图片和头像
 * @route GET /api/public/web/random/getWordAndImg
 * @group 获取随机API - random
 * @param {object} query - 请按固定查询规范
 * @returns {object} 200 - An array of Friends info
 * @returns {object} 605 - 请求失败
 * @returns {Error}  default - Unexpected error
 */
router.get( "/getWordAndImg", random.getWordAndImg );


module.exports = router;
